package StructuralPatterns.Decorator;

public class Test {

  public static void main(String[] args) {
    Circle circle = new Circle();
    circle.draw();

    RedShapeDecorator redShapeDecorator = new RedShapeDecorator(new Circle());
    redShapeDecorator.draw();

    RedShapeDecorator redShapeDecorator1 = new RedShapeDecorator(new Rectangle());
    redShapeDecorator1.draw();

    BlueShapeDecorator blueShapeDecorator = new BlueShapeDecorator(new Circle());
    blueShapeDecorator.draw();

    BlueShapeDecorator blueShapeDecorator1 = new BlueShapeDecorator(new Triangle());
    blueShapeDecorator1.draw();
  }
}
